package com.fitmanagement.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 虚空
 * @since 2024-10-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("goals")
public class Goals implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 目标唯一标识
     */
    @TableId(value = "GoalID", type = IdType.AUTO)
    private Integer GoalID;

    /**
     * 用户唯一标识
     */
    @TableField("UserID")
    private Integer UserID;

    /**
     * 目标类型（如减脂、增肌等）
     */
    @TableField("GoalType")
    private String GoalType;

    /**
     * 目标体重
     */
    @TableField("TargetWeight")
    private BigDecimal TargetWeight;

    /**
     * 目标开始日期
     */
    @TableField("StartDate")
    private LocalDate StartDate;

    /**
     * 目标结束日期
     */
    @TableField("EndDate")
    private LocalDate EndDate;

    /**
     * 记录创建时间
     */
    @TableField("CreatedAt")
    private LocalDateTime CreatedAt;

    /**
     * 记录最后更新时间
     */
    @TableField("UpdatedAt")
    private LocalDateTime UpdatedAt;


}
